import request from '@/utils/request'

// 发布评论
export function listComment(query) {
    return request({
        url: '/ams/comment/list',
        method: 'get',
        params: query
    })
}

// 发布评论
export function pushComment(data) {
    return request({
        url: '/ams/comment',
        method: 'POST',
        data: data
    })
}